<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="UTF-8">
    <title>JS调试功能演示-错误</title>
    <style>

    </style>
</head>

<body>
    <h1>JavaScript 调试功能演示-错误</h1>


    <script>
        const arr = [{ x: 1 }, { x: 2 }, { x: 3 }, { x: 4 }, { x: 5 }, { x: 6 }, { x: 7 }, { x: 8 }, { x: 9 }, { x: 10 }]

        let res = []
        for (let i = 0; i < 14; i++) {
            res.push(arr[i].x)
        }



    </script>
</body>

</html>